<?
$this->load->view('header');
?>

<p><?=$this->validation->error_string;?>
<?=$error;?>
</p>


<?=form_open('author/create');?>
<table border="0" width="300">
	<tr>
		<td>Username:</td>
		<td><input type="text" name="username" value="<?=$this->validation->username;?>" size="15"></td>
	</tr>
	<tr>
		<td>Password:</td>
		<td><input type="password" name="password" value="<?=$this->validation->password;?>" size="15"></td>
	</tr>
	<tr>
		<td>Confirm Password:</td>
		<td><input type="password" name="confirm_password" value="<?=$this->validation->confirm_password;?>" size="15"></td>
	</tr>
	<tr>
		<td>Email:</td>
		<td><input type="text" name="email" value="<?=$this->validation->email;?>" size="15"></td>
	</tr>
	<tr>
		<td colspan="2"><input type="submit" name="submit" value="create author" ></td>
	</tr>
</table>
</form>

<?
$this->load->view('footer');
?>
